package cn.edu.cqupt.cxcy.dao;

import java.util.ArrayList;
import java.util.List;

import cn.edu.cqupt.cxcy.model.Project;

public interface InvestorDao {

	/**
	 * jaksdfj
	 * @param s sssd
	 * @author yinxu
	 */
	public List<Project>  FirstOpenOfProjectOfSelf();//投资人自身已经投资的项目
	public  int SumOfProject();//项目的总数，用来做分页
	public Project WhileShowOfOneProject(int p_id);//点开特定项目的展示
	public List<Project> ProjectWaitingInvestor(int Project_type);
	public boolean InvestProject(int staus,int p_id);//改变项目的状态
	public int returnProjectId(String projectid);
	public List<Project> TypeOfAll(int pt_id);
	public int returnPt_id(String pt_name);
	
	
	
}
